package com.zwz.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 用户
 * @author zhangwanzhong
 * 2015年12月31日 下午1:39:59
 */
public class SysUsers {
	private String id;//主键ID                                 
	private String user_id;//用户ID(全局唯一)                   
	private String user_name;//用户登录名称                       
	private String password;//密码                                   
	private String nick_name;//昵称                                   
	private String status;//状态0:正常,1:限制登录,2:删除
//	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss")
	private Date create_time;//创建时间                             
	@JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss")
	private Date update_time;//最后修改时间
	private String roles_name;//角色名称
	private String roles_id;//角色ID
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNick_name() {
		return nick_name;
	}
	public void setNick_name(String nick_name) {
		this.nick_name = nick_name;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Date getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}
	public String getRoles_name() {
		return roles_name;
	}
	public void setRoles_name(String roles_name) {
		this.roles_name = roles_name;
	}
	public String getRoles_id() {
		return roles_id;
	}
	public void setRoles_id(String roles_id) {
		this.roles_id = roles_id;
	}
	
}
